package com.triones.yjj.entity.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class WXPayOrderReqVO {

    /**
     * 附加数据，回调时可根据这个数据辨别订单类型或其他
     */
    @NotBlank(message = "订单支付类型不能为空！")
    private String orderType;

    @NotNull(message = "订单定金金额不能为空！")
    private Integer amount;

    @NotBlank(message = "商品描述不能为空！")
    private String description;

    @NotBlank(message = "openId不能为空！")
    private String openId;
}
